$width: 280px;
$height: 200px;

.tree-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  .card-block{
    width: $width;
    height: $height;
    display: flex;
    align-items: center;
    .card {
      line-height: 30px;
      height: 150px;
      display: inline-block;
      width: 200px;
      box-shadow: 0 2px 4px 0 rgba(0,0,0,.15);
      border: 1px solid transparent;
      padding: 10px;
      &-header{
        position: relative;
        font-size: 16px;
        line-height: 24px;
        img {
          width: 24px;
          margin-right: 5px;
        }
        span {
          position: absolute;
          right: -5px;
          top: -5px;
          line-height: 20px;
          font-size: 14px;
        }
      }
      &-content {
        height: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        word-wrap:break-word;
        word-break:break-all;
      }
    }
  }
}
